package org.example.common.core.enums;

import org.example.common.core.constants.Constants;

/**
 * 登录用户类型
 */
public enum GrantUser {

    SYSTEM(Constants.SYSTEM,"平台用户"),
    MOBILE(Constants.MOBILE,"移动端用户"),
    CLIENT(Constants.CLIENT,"移动端用户");


    private final String code;
    private final String info;
    GrantUser(String code, String info) {
        this.code = code;
        this.info = info;
    }
    @Override
    public String toString() {
        return this.code;
    }

    public String getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }
}
